<?php
return array(
    'ModulePayment' => array(
        'table'          => 'module_payment',
        'columns'        => array('userId', 'bonusMoney', 'purchasedMoney', 'commodityValue'),
        'autoIncrColumn' => null,
        'diffUpColumns'  => array(1, 2, 3), // difference update columns
        'updateFilter'   => array(),
        'toArrayFilter'  => array(),
        'searchColumns'  => array(0),
        'updateColumns'  => array(0),
        'jsonColumns'    => array(),
        'cacheColumn'    => 0,
        'shardColumn'    => null,
        'pkColumn'       => 0,
        'deleteColumns'  => array(0),
        'tableShardCount'=> -1,
        'isList'         => false,
        'dbType'         => 'MySql',
        'cacheTime'      => 259200, // 3 days
    ),
    'ModulePaymentOrder' => array(
        'table'          => 'module_payment_order',
        'columns'        => array('orderId', 'userId', 'platformToken', 'paymentDefId', 'orderTime', 'completeTime', 'status', 'extra', 'price'),
        'autoIncrColumn' => 0,
        'diffUpColumns'  => array(), // difference update columns
        'updateFilter'   => array(0, 1),
        'toArrayFilter'  => array(),
        'searchColumns'  => array(1, 0),
        'updateColumns'  => array(0),
        'jsonColumns'    => array(7 => 256),
        'cacheColumn'    => 1,
        'shardColumn'    => null,
        'pkColumn'       => 0,
        'deleteColumns'  => array(0),
        'tableShardCount'=> -1,
        'isList'         => true,
        'dbType'         => 'MySql',
        'cacheTime'      => 86400, // 1 days
    ),
);